<?php

function link_to_app($appName, $routeName, $parameters = array(), $absolute = true)
{
  $core = PACore::getInstance();
  return $core->generateAppUrl($appName, $routeName, $absolute, $parameters);
}